/*
 * @Author: AskMeWhy
 * @Date: 2020-12-01 18:05:43
 * @Last Modified by: AskMeWhy
 * @Last Modified time: 2021-01-22 18:44:58
 */

import Vue from "vue";
import Component from "vue-class-component";

@Component
export default class AuthCommonMixin extends Vue {
    triggerMsg(icon: string, msg: string, callback? : any) {
        const authTipRef: any = this.$refs.authTipRef;
        if (authTipRef) {
            authTipRef.triggerMsg(icon, msg, callback);
        }
    }
}
